#ifndef HTMLREQUESTHANDLER_CPP_
#define HTMLREQUESTHANDLER_CPP_

#include "HttpRequest.h"
#include <string>

class FileHandler
{
    public:
        FileHandler(const std::string rootPath);

        void Process(int sockfd, const HttpRequest* req);

        std::string GetRootPath();

        ~FileHandler();
    private:
        std::string _rootPath;

        char* _data;
};

#endif
